package com.dengyafei.config;

import org.springframework.context.annotation.Bean;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Component;

/**
 * @author 邓亚非
 */
@Component
public class RedisConfig {

    public static RedisTemplate<String, Object> redisTemplate() {
        return new RedisTemplate<>();
    }
}
